Thrift\Protocol\TJSONProtocol D

Total Complexity 154
Dependencies 7
Dependents 3
Total lines 780
Lines of code 492
Logical lines of code 300
Comment lines 51
Methods 69
Properties 7

Methods 69

Method Rating Maintainability Complexity Lines of code
getTypeIDForTypeName()
B
43 16 49
isJSONNumeric()
A
54 16 21
getTypeNameForTypeID()
A
51 12 28
readJSONString()
A
54 8 22
readJSONDouble()
S
54 6 22
hexVal()
S
62 6 9
writeJSONString()
S
65 5 10
readJSONInteger()
S
60 4 14
readJSONIntegerAsString()
S
60 4 14
hasJSONUnescapedUnicode()
S
70 4 6
readJSONNumericChars()
S
63 3 11
unescapedUnicode()
S
55 2 21
writeJSONInteger()
S
66 3 10
writeJSONDouble()
S
65 3 10
readFieldBegin()
S
62 2 11
readMessageBegin()
S
63 2 10
readJSONBase64()
S
66 2 8
writeBool()
S
79 2 3
readI64()
S
67 2 8
readJSONSyntaxChar()
S
69 2 6
readBool()
S
75 2 4
readListBegin()
S
70 1 6
readMessageEnd()
S
82 1 3
writeI16()
S
81 1 3
writeI32()
S
81 1 3
writeI64()
S
81 1 3
writeDouble()
S
81 1 3
writeString()
S
81 1 3
readDouble()
S
76 1 4
readI16()
S
76 1 4
readStructEnd()
S
82 1 3
readStructBegin()
S
77 1 4
readListEnd()
S
82 1 3
readFieldEnd()
S
82 1 3
readMapBegin()
S
69 1 7
readMapEnd()
S
78 1 4
readByte()
S
76 1 4
readSetEnd()
S
82 1 3
readI32()
S
76 1 4
readSetBegin()
S
70 1 6
writeByte()
S
81 1 3
writeFieldBegin()
S
73 1 5
writeSetEnd()
S
82 1 3
readJSONObjectEnd()
S
77 1 4
pushContext()
S
76 1 4
popContext()
S
80 1 3
__construct()
S
72 1 5
reset()
S
73 1 5
hexChar()
S
80 1 3
writeJSONBase64()
S
71 1 6
writeJSONObjectStart()
S
73 1 5
writeJSONObjectEnd()
S
77 1 4
writeJSONArrayStart()
S
73 1 5
writeJSONArrayEnd()
S
77 1 4
readJSONObjectStart()
S
73 1 5
readJSONArrayStart()
S
73 1 5
writeSetBegin()
S
73 1 5
readJSONArrayEnd()
S
77 1 4
writeMessageBegin()
S
69 1 7
writeMessageEnd()
S
82 1 3
writeStructBegin()
S
82 1 3
writeStructEnd()
S
82 1 3
writeFieldEnd()
S
82 1 3
writeFieldStop()
S
91 1 2
writeMapBegin()
S
69 1 7
writeMapEnd()
S
78 1 4
writeListBegin()
S
73 1 5
writeListEnd()
S
82 1 3
readString()
S
76 1 4